home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Click 5
/
Click 5.iso
/
data
/
game4.dat
/
scripts
/
DefineButton2_187
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2002-11-22
|
1KB
|
44 lines
on(release){
if(10 < col)
{
if(Number(tekpos) * 10 < col)
{
count = tekpos * 10;
tekpos = Number(tekpos) + 1;
if(Number(tekpos) * 10 >= col)
{
while(count < col)
{
count = Number(count) + 1;
makestring = count - (tekpos - 1) * 10;
set("StringPos" + makestring,count);
set("Stringnam" + makestring,eval("n" + count));
set("Stringscor" + makestring,eval("sc" + count));
}
if(count < Number(tekpos) * 10)
{
while(count < Number(tekpos) * 10)
{
count = Number(count) + 1;
makestring = count - (tekpos - 1) * 10;
set("StringPos" + makestring,"");
set("Stringnam" + makestring,"");
set("Stringscor" + makestring,"");
}
}
}
else
{
while(count < Number(tekpos) * 10)
{
count = Number(count) + 1;
makestring = count - (tekpos - 1) * 10;
set("StringPos" + makestring,count);
set("Stringnam" + makestring,eval("n" + count));
set("Stringscor" + makestring,eval("sc" + count));
}
}
}
}
}